[INFO] cloning repository https://github.com/jeroenvlek/rust-arduino-projects-book
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeroenvlek/rust-arduino-projects-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeroenvlek%2Frust-arduino-projects-book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeroenvlek%2Frust-arduino-projects-book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 792b61dba1a6c5d04c67155834e84083e2abbc2c
[INFO] checking jeroenvlek/rust-arduino-projects-book against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeroenvlek%2Frust-arduino-projects-book" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jeroenvlek/rust-arduino-projects-book on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/jeroenvlek/rust-arduino-projects-book
[INFO] finished tweaking git repo https://github.com/jeroenvlek/rust-arduino-projects-book
[INFO] tweaked toml for git repo https://github.com/jeroenvlek/rust-arduino-projects-book written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/jeroenvlek/rust-arduino-projects-book already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 846a59558041a41e12b891c8c1d4b78177dbfe01b46565452d956336d7f3eabe
[INFO] running `Command { std: "docker" "start" "-a" "846a59558041a41e12b891c8c1d4b78177dbfe01b46565452d956336d7f3eabe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "846a59558041a41e12b891c8c1d4b78177dbfe01b46565452d956336d7f3eabe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "846a59558041a41e12b891c8c1d4b78177dbfe01b46565452d956336d7f3eabe", kill_on_drop: false }`
[INFO] [stdout] 846a59558041a41e12b891c8c1d4b78177dbfe01b46565452d956336d7f3eabe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f8a3f44c3292edd318c6dd75ea63b56598f5eb811c6bb7b05bba5e8feae139d
[INFO] running `Command { std: "docker" "start" "-a" "5f8a3f44c3292edd318c6dd75ea63b56598f5eb811c6bb7b05bba5e8feae139d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]     Checking ufmt-write v0.1.0
[INFO] [stderr]     Checking nb v1.0.0
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking micromath v2.0.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling avr-device v0.3.4
[INFO] [stderr]    Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=3b8f39fa2ec5e3359c7bedc33d982e75e8cc3700#3b8f39fa)
[INFO] [stderr]    Compiling ufmt-macros v0.2.0
[INFO] [stderr]    Compiling avr-device-macros v0.3.4
[INFO] [stderr]    Compiling ufmt-macros v0.3.0
[INFO] [stderr]     Checking ufmt v0.2.0
[INFO] [stderr]     Checking ufmt v0.1.2
[INFO] [stderr]     Checking ufmt_float v0.2.0
[INFO] [stderr]     Checking atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=3b8f39fa2ec5e3359c7bedc33d982e75e8cc3700#3b8f39fa)
[INFO] [stderr]     Checking arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=3b8f39fa2ec5e3359c7bedc33d982e75e8cc3700#3b8f39fa)
[INFO] [stderr]     Checking rust-arduino-projects-book v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See
[INFO] [stdout]               https://github.com/Rahix/avr-device/pull/41 for more details.
[INFO] [stdout]  --> src/bin/blink.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[arduino_hal::entry]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See
[INFO] [stdout]               https://github.com/Rahix/avr-device/pull/41 for more details.
[INFO] [stdout]   --> src/bin/external-interrupt.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[arduino_hal::entry]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See
[INFO] [stdout]               https://github.com/Rahix/avr-device/pull/41 for more details.
[INFO] [stdout]   --> src/bin/read-temperature.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[arduino_hal::entry]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `either`
[INFO] [stdout]   --> src/bin/external-interrupt.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use either::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `either`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_device`
[INFO] [stdout]   --> src/bin/external-interrupt.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[avr_device::interrupt(atmega328p)]
[INFO] [stdout]    |   ^^^^^^^^^^ use of undeclared crate or module `avr_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `blink` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-bd10137362284503.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ebbfb508237d160e7a5e663a930916c87c4a8a45/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62c4894b82797b30.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See
[INFO] [stdout]               https://github.com/Rahix/avr-device/pull/41 for more details.
[INFO] [stdout]   --> src/bin/pulse-width-modulation.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[arduino_hal::entry]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-arduino-projects-book` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `read_temperature` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-bd10137362284503.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ebbfb508237d160e7a5e663a930916c87c4a8a45/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62c4894b82797b30.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `avr_device`
[INFO] [stdout]   --> src/bin/external-interrupt.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe { avr_device::interrupt::enable() };
[INFO] [stdout]    |              ^^^^^^^^^^ use of undeclared crate or module `avr_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `pulse_width_modulation` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-bd10137362284503.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ebbfb508237d160e7a5e663a930916c87c4a8a45/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62c4894b82797b30.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Left` in this scope
[INFO] [stdout]   --> src/bin/external-interrupt.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Left(leds.iter_mut().rev())
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::fmt::Alignment::Left;
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::fmt::rt::v1::Alignment::Left;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-arduino-projects-book` due to 3 previous errors
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Right` in this scope
[INFO] [stdout]   --> src/bin/external-interrupt.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             Right(leds.iter_mut())
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::fmt::Alignment::Right;
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::fmt::rt::v1::Alignment::Right;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `external_interrupt` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-bd10137362284503.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ebbfb508237d160e7a5e663a930916c87c4a8a45/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62c4894b82797b30.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-arduino-projects-book` due to 3 previous errors
[INFO] [stderr] error: could not compile `rust-arduino-projects-book` due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "5f8a3f44c3292edd318c6dd75ea63b56598f5eb811c6bb7b05bba5e8feae139d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f8a3f44c3292edd318c6dd75ea63b56598f5eb811c6bb7b05bba5e8feae139d", kill_on_drop: false }`
[INFO] [stdout] 5f8a3f44c3292edd318c6dd75ea63b56598f5eb811c6bb7b05bba5e8feae139d
